﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LinkEdit.aspx.cs" Inherits="Manager_LinkEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=id > 0 ? "修改友情链接" : "新建友情链接"%></title>
    <link href="/Manager/css/admin.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="/Manager/js/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="/Manager/js/admin.js"></script>
</head>
<body>
    <div class="titlebt"><%=id > 0 ? "修改链接" : "新建链接"%></div>
    <!--显示列表-->
    <div id="all">
        <div class="k_all3">
            <form action="" method="post">
            <table width="100%" cellpadding="0" cellspacing="0" id="bk">
                <tbody>
                    <tr>
                        <td width="326" height="35" align="right">
                            <span class="red">*</span>标题：
                        </td>
                        <td width="990">
                            <input id="Title" type="text" name="Title" value="<%=Title %>"  data-val="true" data-val-required="*请填写标题！" />
                            <span class="field-validation-valid" data-valmsg-for="Title" data-valmsg-replace="true"></span>
                        </td>
                    </tr>
                    <tr>
                        <td height="35" align="right">
                            <span class="red">*</span>链接：
                        </td>
                        <td width="990">
                            <input id="LinkUrl" type="text" name="LinkUrl" value="<%=LinkUrl %>" style="width:350px"  data-val="true" data-val-required="*请填写链接！" />
                            <span class="field-validation-valid" data-valmsg-for="LinkUrl" data-valmsg-replace="true"></span>
                        </td>
                    </tr>
                    <tr>
                        <td height="35" align="right">
                            描述：
                        </td>
                        <td width="990">
                            <input id="Body" type="text" name="Body" value="<%=Body %>" style="width:350px" />
                        </td>
                    </tr>
                    <tr>
                        <td height="35" align="right">
                            <span class="red">*</span>排序：
                        </td>
                        <td width="990">
                            <input id="Sort" type="text" name="Sort" value="<%=Sort %>" style="width:350px" data-val="true" data-val-required="*请填写排序！"  data-val-number="*排序请填写数字！" />
                            <span class="field-validation-valid" data-valmsg-for="Sort" data-valmsg-replace="true"></span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" height="35">
                            <div class="pl200">
                                <input type="submit" class="butt_tle" style="width: 50px" value="确定" />
                                <input type="button" class="butt_tle" style="width: 80px" value="返回列表" onclick='location.href="LinkList.aspx"'/>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            </form>
        </div>
    </div>
</body>
</html>